package com.bfly.mall.wechat.dto;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 微信公众号
 *
 * @author 长沙商脉科技有限公司
 * @date 2021/1/4 14:02
 */
public class WeChatMpFormDTO implements Serializable {

    private static final long serialVersionUID = 570696050660465191L;

    @NotBlank(message = "公众号名称不能为空!")
    private String name;
    @NotBlank(message = "公众号原始ID不能为空!")
    private String originId;
    @NotBlank(message = "公众号APPId不能为空!")
    private String appId;
    @NotBlank(message = "公众号AppSecret不能为空!")
    private String appSecret;
    private String remark;
    private int type;
    private boolean verified;
    @NotBlank(message = "公众号主体不能为空!")
    private String owner;
    private String qrCode;
    private int platform;

    public int getPlatform() {
        return platform;
    }

    public void setPlatform(int platform) {
        this.platform = platform;
    }

    public String getQrCode() {
        return qrCode;
    }

    public void setQrCode(String qrCode) {
        this.qrCode = qrCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOriginId() {
        return originId;
    }

    public void setOriginId(String originId) {
        this.originId = originId;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public boolean isVerified() {
        return verified;
    }

    public void setVerified(boolean verified) {
        this.verified = verified;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }
}
